namespace GanagroLiteData
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("FINCAS")]
    public partial class FINCA
    {
        public FINCA()
        {
            GANADOes = new HashSet<GANADO>();
        }

        [StringLength(10)]
        public string ID { get; set; }

        [StringLength(20)]
        public string NOMBRE { get; set; }

        public float? HECTAREAS { get; set; }

        [StringLength(50)]
        public string UBICACION { get; set; }

        [StringLength(40)]
        public string propietario { get; set; }

        [StringLength(60)]
        public string direccion { get; set; }

        [StringLength(15)]
        public string telefono { get; set; }

        [StringLength(40)]
        public string vereda { get; set; }

        [StringLength(40)]
        public string municipio { get; set; }

        [StringLength(40)]
        public string departamento { get; set; }

        [StringLength(20)]
        public string nit { get; set; }

        [StringLength(40)]
        public string radio { get; set; }

        public short? Areas_Altas { get; set; }

        public short? Areas_Bajas { get; set; }

        public double? divisiones { get; set; }

        public double? area_pastos { get; set; }

        public double? area_bosques { get; set; }

        public double? area_cultivos { get; set; }

        [StringLength(80)]
        public string tipos_pasto { get; set; }

        [StringLength(80)]
        public string tipos_maleza { get; set; }

        [StringLength(40)]
        public string Explotacion { get; set; }

        [StringLength(20)]
        public string comienzo_lluvias { get; set; }

        [StringLength(20)]
        public string fin_lluvias { get; set; }

        [StringLength(20)]
        public string comienzo_verano { get; set; }

        [StringLength(20)]
        public string fin_verano { get; set; }

        public double? altitud { get; set; }

        public double? temperatura { get; set; }

        [StringLength(200)]
        public string observaciones { get; set; }

        [StringLength(200)]
        public string cercas { get; set; }

        [StringLength(80)]
        public string arborizacion { get; set; }

        [StringLength(80)]
        public string aguas { get; set; }

        [StringLength(80)]
        public string pastos { get; set; }

        [StringLength(80)]
        public string suelos { get; set; }

        public virtual ICollection<GANADO> GANADOes { get; set; }
    }
}
